﻿<UserControl x:Class="NickHoggard.TimeSheetControl_Reports_VSPackage.TFSTimesheetReportControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.11.0"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Name="MyToolWindow"
             Background="{DynamicResource {x:Static vsfx:VsBrushes.ToolWindowBackgroundKey}}" Loaded="MyToolWindow_Loaded" BorderBrush="#FF323296">
    <!--<Grid>
        <Grid.RowDefinitions>
            <RowDefinition Name="ToolBar" Height="26" />
            <RowDefinition Name="Body" Height="*" />
            <RowDefinition Name="StatusBar" Height="20" />
        </Grid.RowDefinitions>-->
        <!--<StackPanel Orientation="Vertical">-->
    <DockPanel LastChildFill="True">
            <ToolBarPanel DockPanel.Dock="Top" Height="26" Name="toolBarPanel1" Width="{Binding ElementName=MyToolWindow, Path=Width}">
                <ToolBar Height="26" Name="toolBar1" Width="{Binding ElementName=MyToolWindow, Path=Width}">
                    <Button Click="Button_Click">Refresh</Button>
                </ToolBar>
            </ToolBarPanel>
            <StatusBar DockPanel.Dock="Bottom" Height="30">
                <Label Name="sbConnection" Content="Connected" FontSize="10" />
                <StatusBarItem HorizontalAlignment="Right">
                    <Label Name="sbCollection" Content="TFS Collection" FontSize="10" />
                </StatusBarItem>
            </StatusBar>
            <TreeView Name="treeView1"  Width="{Binding ElementName=MyToolWindow, Path=Width}" />
        <!--</StackPanel>-->
    </DockPanel>
    <!--</Grid>-->

</UserControl>
